projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0322a15
)
(text-mode): Locally set indent-line-function.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 27 Jun 1998 22:23:43 +0000
(22:23 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 27 Jun 1998 22:23:43 +0000
(22:23 +0000)
lisp/textmodes/text-mode.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/text-mode.el
b/lisp/textmodes/text-mode.el
index 2a51f03e4b308eff9bb16619d2a90f723353a0a6..c0627b640f466a4343d8d491746cc1e93fe21f69 100644
(file)
--- a/
lisp/textmodes/text-mode.el
+++ b/
lisp/textmodes/text-mode.el
@@
-78,6
+78,8
@@
Turning on Text mode runs the normal hook `text-mode-hook'."
(setq paragraph-start (concat "[ \t]*$\\|" page-delimiter))
(make-local-variable 'paragraph-separate)
(setq paragraph-separate paragraph-start)
+ (make-local-variable 'indent-line-function)
+ (setq indent-line-function 'indent-relative-maybe)
(setq mode-name "Text")
(setq major-mode 'text-mode)
(run-hooks 'text-mode-hook))